package com.weibo.service;

import com.weibo.pojo.Tuser;

/**
 * for user bussiness operation
 * @author vorce
 *
 */
public interface IUserService {

	public Tuser getUserById(Integer userId);

	public boolean isExistUser(Tuser user) throws Exception ;

	public boolean isExistUser(String userName) throws Exception;

	public void saveUser(Tuser user) throws Exception;

	public Tuser getUserByName(String userName) throws Exception;
}
